import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'app',
      children:[
        {
          path:"/qiu",
          name:"qiu",
          component: () => import('../views/Qiu.vue')
        },
        {
          path:"/erd",
          name:"erd",
          component: () => import('../views/Erd.vue')
        },
        {
          path:'/biao',
          name:'biao',
          component: () => import('../views/Biao.vue')
        },
        {
          path:'/towqiu',
          name:'towqiu',
          component: () => import('../views/Towqiu.vue')
        },
        {
          path:"/sanqiu",
          name:"sanqiu",
          component: () => import('../views/Sanqiu.vue')
        },
        {
          path:'/erbiao',
          name:'erbiao',
          component: () => import('../views/Erbiao.vue')
        }
      ]
    }
  ]
})

export default router
